local ME=peripheral.find("meBridge")
local items = ME.listItems()
while true do
    sleep(1)
    local genes={}
    local combs={}
    for i=1,#items do 
        if (string.find(items[i].name,"productivebees:gene")~=nil) then
            genes[#genes+1]=items[i]
        end
        if (string.find(items[i].name,"productivebees:configurable_honeycomb")~=nil) then
            combs[#combs+1]=items[i]
        end
        
    end
    for i=1,#genes do
        ME.exportItemToPeripheral(genes[i],"sophisticatedstorage:chest_1")
    end
    for i=1,#combs do
        ME.exportItemToPeripheral(combs[i],"dimstorage:dimensional_chest_2")
    end
end